package project3.bean;

import project3.annotation.Constrain;
import project3.annotation.Table;
import project3.annotation.Type;

@Table(TableName = "person")
public class Person {
	@Type (AttrName = "id")
	@Constrain(PrimaryKey = true)
    private Integer id;
	
	@Type (AttrName = "name")
	@Constrain(NotNull = true)
    private String name;
	
	@Type (AttrName = "age")
	@Constrain(PrimaryKey = true)
    private Integer age;
}
